package Hibernate.manytomany;

import java.util.HashSet;
import java.util.Set;

public class User {
    private String name;
    private int  id;
    //private  Class1 class1;
    private Set Class1=new HashSet();

    public Object getClass1() {
        return Class1;
    }

    public void setClass1(Set class1) {
        Class1 = class1;
    }

   /* public Class1 getClass1() {
        return class1;
    }

    public void setClass1(Class1 class1) {
        this.class1 = class1;
    }
*/
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


}
